﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace StockFinder.UI.Views
{
    public interface IDownloadAllHistoricPricesView
    {
        event EventHandler Start;
        event EventHandler Stop;

        DateTime GetDateFrom();
        DateTime GetToDate();

        void AppendLog(string logMessage);
        void UpdateProgress(int minimum, int maximum, int value);
        void ResetProgress();
        void UpdateEstimatedTimeRemaining(TimeSpan timeRemaining);
        void SetTimeTaken(double secondsTaken);
        void SetAverageSecondsTaken(decimal averageSecondsTaken);
    }
}
